:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
    --dark-color: #1a1a2e;
    --light-color: #f8f9ff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #4a4a4a;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 12rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.08;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.display-3 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: white;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    position: relative;
    margin-top: 3rem;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: absolute;
    top: -35px;
    right: 30px;
}

.contact-section {
    background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 6rem 0;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(67, 97, 238, 0.9);
}

.contact-card {
    background: white;
    border-radius: 10px;
    padding: 3rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.form-control {
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

footer {
    background: var(--dark-color);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s both;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

#features, #call_to_action , #pricing, #about, #contact, #gallery, #students {
    padding: 6rem 0;
}

/* Navbar styles for hero pages */
.page-with-hero nav {
    background: transparent !important;
    transition: all 0.3s ease;
}

.page-with-hero nav.scrolled {
    background: var(--dark-color) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 0.75rem 0 !important;
}

/* Navbar styles for non-hero pages */
.page-without-hero nav {
    background: var(--dark-color) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Default navbar style (for non-hero pages) */
.navbar-default {
    background-color: var(--dark-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}

 /* Add this to your existing styles */
 .navbar {
    transition: all 0.3s ease;
}

/* Default dark navbar */
.navbar-dark-bg {
    /* background-color: var(--dark-color) !important; */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}

/* Transparent navbar for hero pages */
.navbar-transparent {
    background: transparent !important;
    padding: 1rem 0;
}

/* Scrolled state for hero pages */
.navbar-transparent.scrolled {
    background-color: var(--dark-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.75rem 0 !important;
}

/* When scrolled on hero pages */
.navbar-scrolled {
    background-color: var(--dark-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.75rem 0 !important;
}

/* Add padding to body when navbar is fixed */
body.with-fixed-nav {
    padding-top: 70px;
}


/* GALLERY */
.gallery-img {
    height: 300px; /* Adjust size as needed */
    max-width: 100%;
    border-radius: 8px;
}

.overflow-auto {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ccc transparent; /* Firefox */
}

.overflow-auto::-webkit-scrollbar {
    height: 6px;
}

.overflow-auto::-webkit-scrollbar-track {
    background: transparent;
}

.overflow-auto::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px;
}

.student-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .student-img {
        height: 400px;
    }
}


@media (max-width: 991px) {
    .student-img {
        height: 550px;
    }
}